const resource = [
  {
    path: 'resource',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'Resource',
    redirect: '/resource',
    meta: { title: 'resource', icon: 'el-icon-collection', code: 'Resource' },
    children: [
      {
        path: 'picture',
        name: 'Picture',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/resource/picture'),
        meta: { title: 'picture', code: 'Picture', icon: 'el-icon-picture-outline' }
      },
      {
        path: 'audioVisual',
        name: 'AudioVisual',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/resource/audioVisual'),
        meta: { title: 'audioVisual', code: 'AudioVisual', icon: 'el-icon-video-camera' }
      },
      {
        path: 'document',
        name: 'Document',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/resource/document'),
        meta: { title: 'document', code: 'Document', icon: 'el-icon-document' }
      }
    ]
  }
];

export default [
  ...resource
];
